﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.CSharp.Services.Language.Interop;
using Microsoft.RestrictedUsage.CSharp.Semantics;

namespace devtm.Documentation.CSharpModel
{

    public class CSharpParameterReference
    {

        // Fields
        public CSharpMemberReference ContainingMethod;
        public string Name;
        public CSharpParameter Parameter;

        // Methods
        public CSharpParameterReference(CSharpMemberReference containingMethod, CSharpParameter param)
        {
            this.ContainingMethod = containingMethod;
            this.Parameter = param;
        }

        public CSharpParameterReference(CSharpMemberReference containingMethod, string name)
        {
            this.ContainingMethod = containingMethod;
            this.Name = name;
        }


    }

}
